Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebProfilerBundle] Update main menu to display active panels first #54420

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

javiereguiluz
Copy link
Member

@javiereguiluz javiereguiluz commented Mar 27, 2024

Q A
Branch? 7.1
Bug fix? no
New feature? yes
Deprecations? no
Issues -
License MIT

I propose to reorder the main menu items to always display first the active panels, which are the ones that users will click.

Before After

@fabpot
Copy link
Member

fabpot commented Mar 28, 2024

Thank you @javiereguiluz.

@fabpot fabpot merged commit f340351 into symfony:7.1 Mar 28, 2024
4 checks passed
@javiereguiluz javiereguiluz deleted the profiler_menu branch March 28, 2024 16:20
@fabpot fabpot mentioned this pull request May 2, 2024
@javaDeveloperKid
Copy link
Contributor

javaDeveloperKid commented May 12, 2024

I would like to give my feedback on this. I don't think this change was a good decision. The sidebar items order is now just random so developer never knows at which position the given item will be displayed. So it requires going through all the items from top to bottom to find the desired one (or ctrl+f and typing the panel name but it requires to know all the panel names). Greyed out items are enough IMO

What I think would be a good change is to display panels in alphabetical order on the sidebar so I know that Twig will be somewhere at the bottom and Doctrine at the top and my eyes can automatically head in this direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants